package
{
	import flash.display.Sprite;
	import flash.events.Event;
	
	import jian.hamster.controller.TimerController;
	import jian.hamster.game.HamsterGame;
	
	/**
	 * 
	 * @author Jian
	 * 
	 */	
	[SWF(width=640, height=480, frameRate=25)]
	public class HamsterStage extends Sprite
	{
		public function HamsterStage()
		{
			this.addEventListener(Event.ADDED_TO_STAGE, __onAddedToStage);
		}
		
		protected function __onAddedToStage(event:Event):void
		{
			TimerController.instance;
			
			addChild(new HamsterGame());
			
		
			
		}
		
	}
}